package icu.ac.kr.simpleRssReader.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public class RssDBProviderConstant {

	public static final String AUTHORITY = "rssreader.icu.ac.kr";
	public static final Uri CHANNEL_URI = Uri.parse("content://"+AUTHORITY+"/channels");
	public static final Uri POST_URI = Uri.parse("content://"+AUTHORITY+"/posts");
	public static final Uri ICONURI = Uri.parse("content://"+AUTHORITY+"/icon");
	
	public interface channel extends BaseColumns{
		
		public static final String TITLE= "title";
		public static final String URL = "url";
	}
	
	public interface post extends BaseColumns{
		
		public static final String TITLE = "title";
		public static final String PUBDATE = "pubdate";
		public static final String BODY = "body";
		public static final String CHANNELID = "channel_id";
		public static final String READ = "read";
		
	}
	
}
